package de.karlNet.sambamanager.ldapModel.dns;

import de.karlNet.sambamanager.ldapModel.ITypeCheckerCallback;
import de.karlNet.sambamanager.ldapModel.LdapObject;

public class LdapDNSCName extends LdapObject {
	private String aliasFor;
	private int ttl;

	public int getTtl() {
		return ttl;
	}

	public String getAliasFor() {
		return aliasFor;
	}

	public LdapDNSCName() {

	}

	public LdapDNSCName(String cn, String dn, String aliasFor, int ttl) {
		super(cn, dn);
		this.aliasFor = aliasFor;
		this.ttl = ttl;
	}

	@Override
	public void isType(ITypeCheckerCallback typeCheckerCallback) {
		typeCheckerCallback.isLdapDNSCName();
		typeCheckerCallback.isLdapDNSCName(this);
	}
}
